<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<style type="text/css">
			/*伪类选择器：*/
			a.curr{
				text-decoration: none;	
				font-weight: bold;
			}
			a.curr:hover{
				font-weight: bold;
			}
			input:focus{
				background-color: #D2691E;
			}
			/*imgshow1为id的div元素下的img*/
			#imgshow1 img{
				opacity: 0.5;
				filter: alpha(opacity = 50);
			}
			img{
				border: 1px solid #D2691E;
			}
			img.curr{
				border: 3px solid #FF0000;
			}
			/*选择直接子节点*/
			li > ul{
				display: none;
			}
			/*伪类选择器*/
			li:hover>ul{
				display: block;
			}
			/*同时选择多组*/
			a,input,ul>li{
				font-family: "微软雅黑";
				font-size: 2em;
			}
		</style>
	</head>
	<body>
		展示组合字体
		<ul>
			<li>一级菜单
				<ul>
					<li>二级菜单</li>
					<li>二级菜单</li>
					<li>二级菜单</li>
					<li>二级菜单</li>
				</ul>
			</li>
		</ul>
		<input type="text" />
		<a href="index.html" target="_blank">点击</a>
		<a class="curr" href="index.html" target="_blank">点击</a>
		<div id="imgshow1">
			<img src="img/dog.jpg" />
			<img src="img/dog.jpg" />
		</div>
		<div id="imgshow2">
			<img src="img/dog.jpg" />
			<img src="img/dog.jpg" />
		</div>
		<img src="img/dog.jpg" />		
		<img class="curr" src="img/dog.jpg" />		
	</body>
</html>
